home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1/GPL 2.0/LGPL 2.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the
- - License.
- -
- - The Original Code is "FlashGot"
- -
- - The Initial Developer of the Original Code is Giorgio Maone.
- - Portions created by the Initial Developer are Copyright (C) 2004
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s): Giorgio Maone <g.maone @ informaction.com>
- -
- - Alternatively, the contents of this file may be used under the terms of
- - either the GNU General Public License Version 2 or later (the "GPL"), or
- - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- - in which case the provisions of the GPL or the LGPL are applicable instead
- - of those above. If you wish to allow use of your version of this file only
- - under the terms of either the GPL or the LGPL, and not to allow others to
- - use your version of this file under the terms of the MPL, indicate your
- - decision by deleting the provisions above and replace them with the notice
- - and other provisions required by the LGPL or the GPL. If you do not delete
- - the provisions above, a recipient may use your version of this file under
- - the terms of any one of the MPL, the GPL or the LGPL.
- -
- - ***** END LICENSE BLOCK ***** -->
- <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
- <!DOCTYPE overlay SYSTEM "chrome://flashgot/locale/flashgot.dtd">
-
- <dialog id="flashgotGalleryBuilder"
- onload="flashgotGB.onload()"
- ondialogaccept="flashgotGB.build()"
- title="&flashgotBuildGallery.title;"
- buttons="accept,cancel"
- flex="1"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <script type="application/x-javascript" src="flashgotGalleryBuilder.js"/>
- <commandset>
- <command id="cmd_synchronizeContent" oncommand="flashgotGB.synchronizeContent()" />
- <command id="cmd_synchronizePreview" oncommand="flashgotGB.synchronizePreview()" />
- </commandset>
- <tabbox >
- <tabs onselect="flashgotGB.tabSelected(event)" >
- <tab id="flashgotGB-url-tab" label="&flashgotGBVariableURLs.label;"/>
- <tab id="flashgotGB-expr-tab" label="&flashgotGBExpressions.label;" />
- </tabs>
- <tabpanels>
- <tabpanel>
- <vbox>
- <groupbox orient="vertical">
-
- <description>&flashgotGBSample.label;</description>
- <description style="font-weight: bold">http://www.xyz.com/gal[080-090;10]/img[1-2].jpg</description>
- <description style="font-weight: bold">http://www.xyz.com/gal[myfunc([1-100])].mpg</description>
- <grid>
- <columns>
- <column/>
- <column flex="1"/>
- </columns>
- <rows>
- <row>
- <label control="flashgotGB-preview-text" value="&flashgotGBPreview.label;" width="60px" />
- <textbox id="flashgotGB-preview-text"
- type="autocomplete" autocompletesearch="history,form-history"
- maxlength="300" minwidth="450px"
- onchange="flashgotGB.validateURLs()"
- />
- </row>
- <row>
- <spacer />
- <hbox align="center">
- <button style="min-width: 0px" image="chrome://global/skin/arrow/arrow-dn-sharp.gif"
- command="cmd_synchronizeContent" />
- <button style="min-width: 0px" image="chrome://global/skin/arrow/arrow-up-sharp.gif"
- command="cmd_synchronizePreview" />
- <label value="&flashgotGBSync.label;"/>
- <spacer flex="1" />
- </hbox>
- </row>
- <row>
- <label control="flashgotGB-content-text" value="&flashgotGBContent.label;" width="60px" />
- <textbox id="flashgotGB-content-text"
- type="autocomplete" autocompletesearch="history,form-history"
- maxlength="300" minwidth="450px"
- onchange="flashgotGB.validateURLs()"
- />
- </row>
- </rows>
- </grid>
- </groupbox>
- <vbox style="padding: 0px margin: 0px;">
- <vbox id="flashgotGB-urls-list-container">
- <listbox id="flashgotGB-urls-list" seltype="single"
- onselect="flashgotGB.openSelectedURL()"
- style="margin: 4px 0px"
- height="136px"
- minheight="48px"
- flex="1"
- >
- <listcols id="flashgotGB-urls-listcols">
- <listcol flex="1"/>
- <listcol flex="1"/>
- </listcols>
- </listbox>
- </vbox>
-
- <splitter style="background: transparent; margin: 0px; border-width: 0px" />
-
- <iframe id="flashgotGB-urls-preview" src="about:blank"
- style="border: 1px solid ThreeDDarkShadow"
- height="136px"
- flex="1"
- />
-
- </vbox>
-
- <hbox flex="1" style="margin-top: 6px">
- <label control="flashgotGB-referrer-text" value="&flashgotGBReferrer.label;" />
- <textbox id="flashgotGB-referrer-text"
- type="autocomplete" autocompletesearch="history,form-history"
- maxlength="255" flex="1" />
- </hbox>
-
- </vbox>
- </tabpanel>
- <tabpanel>
- <hbox style="margin: 0px; padding: 0px" flex="1" >
- <listbox id="flashgotGB-expr-list" seltype="single"
- onselect="flashgotGB.exprSelected()" flex="1"
- style="margin: 0px"
- />
-
- <splitter style="background: transparent; margin: 0px; border-width: 0px" />
-
- <vbox flex="2" style="margin: 0px; padding: 0px" >
- <description id="flashgotGB-expr-des" value="function fx( /* array */ arguments ) {" />
- <description style="white-space: nowrap;" >// arguments.length = args number, arguments[0] = 1st arg, ...</description>
- <textbox id="flashgotGB-expr-text"
- flex="1"
- multiline="true"
- onchange="flashgotGB.exprChanged()"
- style="background: white; color: red; font-family: monospace;"
- wrap="off"
- />
- <description>}</description>
-
-
- <textbox id="flashgotGB-expr-error-text"
- multiline="true"
- rows="3" readonly="true"
- style="background: white; color: red"
- />
- </vbox>
- </hbox>
- </tabpanel>
- </tabpanels>
- </tabbox>
- </dialog>
-